/**
 * 全站提示文案
 */
let tips = {
    successCode: 2000,
    success: '成功',
    failCode: 4444,
    fail: '失败',
    phone: {
        emptyCode: 4001,
        emport: '手机号不能为空',
        formatCode: 4002,
        format: '手机号格式有误'
    },
    pwd: {
        emptyCode: 4003,
        emport: '密码不能为空',
        empty2Code: 4004,
        emport2: '请再次输入密码',
        formatCode: 4005,
        format: '密码格式有误',
        alikeCode: 4006,
        alike: '两次密码不致'
    },
    nickname: {
        failCode: 4007,
        fail: '昵称输入有误，请输入2-4个中文',
    },
    gift:{
        failCode: 4008,
        fail: '四项属性总和必须为80，请重新输入',
    },
    uidEmptyCode: 4009,
    uidEmpty: 'uid不能为空',
    login: {
        failCode: 4010,
        fail: '账号或密码有误'
    },
    loginCookie: {
        failCode: 4011,
        fail: '用户信息有误'
    },
    loginTimeOver: {
        failCode: 4018,
        fail: '自动登录已过期'
    },
    register: {
        failCode: 4012,
        fail: '账号已存在',
    },
    create: {
        userInfoFailCode: 4013,
        userInfoFail: '用户信息创建失败',
    },
    code: {
        emptyCode: 4014,
        empty: '验证码不为空',
        formatCode: 4015,
        format: '验证码输入有误'
    },
    password: {
        success: '密码修改成功',
        failCode: 4016,
        fail: '密码修改失败',
    },
    page: {
        maxPageCode: 4017,
        maxPage: '超出最大页码'
    },
    user: {
        infoFailCode: 4019,
        infoFail: '用户信息失效',
        noexisCode: 4020,
        noexis: '用户不存在',
        noAddressCode: 4021,
        noAddress: '暂无收货地址',
        coin:'鑫币不足'
    },
    uname:{
        emptyCode: 4022,
        emport: '账号不能为空',
        formatCode: 4023,
        format: '账号格式有误',
    },
    sql: {
        selectFailCode: 5001,
        selectFail: '查询失败',
        insertFailCode:5002,
        insertFail:'插入失败'
    },
    pic:{
        uploadSuccess:'图片上传成功',
        saveSuccess:'图片保存成功',
    }
}

module.exports = tips;